package com.bird.body;

import lombok.Data;
import lombok.ToString;

import javax.annotation.PostConstruct;

/**
 * @data 2023/2/19 17:03
 * @author: bird
 * @description:
 */

public class Student {
    private String name;
    private String age;


    public Student(){
        System.out.println("执行构造方法");
    }




    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }


    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age='" + age + '\'' +
                '}';
    }
}
